<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 1000px;
            height: 499px;
            font-size: 30px;
            margin: 0 auto;
            background-color: beige;
            color: black;
        }
    </style>
</head>
<body>
    <div class="box"></div>
    <script>
   var box=document.querySelector('.box');
   var table =document.createElement('table');
   for(var i=1;i<10;i++)
   {
        var tr=document.createElement('tr');
        for(var j=1;j<=i;j++)
        {
            var td=document.createElement('td');
            td.innerHTML=j + '*' + i + '=' + j*i +'\t';
            tr.append(td);
        }
        table.append(tr);
   }
   box.append(table);
    </script>
</body>
</html>